﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QQHelper
{
    //json解析群列表
    public class QQGropJson
    {
        public int code { get; set; }
        public int defaults { get; set; }
        public QQGrouplist data { get; set; }
        public string message { get; set; }
        public int subcode { get; set; }
    }
    public class QQGroupInfo
    {
        public int count { get; set; }
        public int flag { get; set; }
        public string groupid { get; set; }
        public string groupname { get; set; }
    }
    public class QQGrouplist
    {
        public List<QQGroupInfo> group { get; set; }
        public int guid { get; set; }
        public int total { get; set; }
    }
    //以下三个类解析群成员
    public class QQMember
    {
        public string iscreator { get; set; }
        public string ismanager { get; set; }
        public string nick { get; set; }
        public string uin { get; set; }
    }
    public class QQGroup
    {
        public int code { get; set; }
        public int subcode { get; set; }
        public string message { get; set; }
        public int defaults { get; set; }
        public QQInfo data { get; set; }
        public int level { get; set; }
        public string nick { get; set; }
        public int option { get; set; }
        public int total { get; set; }
    }
    public class QQInfo
    {
        public int alpha { set; get; }
        public int bbscount { get; set; }
        public int classs { get; set; }
        public string createtime { get; set; }
        public int filecount { get; set; }
        public string fingermemo { get; set; }
        public string groupmemo { get; set; }
        public string groupname { get; set; }
        public List<QQMember> item { get; set; }
    }
}
